package com.gxa.modules.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Finance {

  private Long finance_no;
  private Long finance_staff;
  private Long finance_member;
  private Long finance_order;
  private Long finance_type;
  private BigDecimal finance_money;
  private Long finance_identity;
  private Long finance_category;
  private Long finance_state;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date finance_date;

  @Override
  public String toString() {
    return "Finance{" +
            "finance_no=" + finance_no +
            ", finance_staff=" + finance_staff +
            ", finance_member=" + finance_member +
            ", finance_order=" + finance_order +
            ", finance_type=" + finance_type +
            ", finance_money=" + finance_money +
            ", finance_identity=" + finance_identity +
            ", finance_category=" + finance_category +
            ", finance_state=" + finance_state +
            ", finance_date=" + finance_date +
            '}';
  }

}
